﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Reflection;
using System.Text;
using System.Windows.Forms;

namespace hyjiacan.util.web.wp
{
    public partial class AboutForm : hyjiacan.util.winform.JForm
    {
        public AboutForm(string title)
        {
            InitializeComponent();
            this.title.Text = title;
            lVersion.Text = Assembly.GetExecutingAssembly().GetName().Version.ToString();
        }

        private void pictureBox2_Click(object sender, EventArgs e)
        {
            try
            {
                System.Diagnostics.Process.Start("http://shang.qq.com/wpa/qunwpa?idkey=db8d8453051fe1e188d7e601e8841a98959e73b497de0c59c02705a0515e2683");
            }
            catch (Exception ex)
            {
                MessageBox.Show(this, ex.Message);
            }
        }

        private void lWeb_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            try
            {
                System.Diagnostics.Process.Start("http://www.hyjiacan.com/wpa?ref=wpa");
            }
            catch (Exception ex)
            {
                MessageBox.Show(this, ex.Message);
            }
        }
    }
}
